package msgs;
/**
 * Specific message for requesting chat info
 * Team 9: Andrew Hayworth, Brian Parrella, Ryan Kortmann, Nina Papa
 * @author Andrew Hayworth
 *
 */

public class AdminLogMsg extends AdminMsg implements TTConstants {
	private String chatTitle;
	private boolean logging;
	private String u1, u2;
	
	public AdminLogMsg(ConnectedUser c, AdminActions a, String chatTitle, boolean logging, String u1, String u2) {
		super(c, a);
		this.chatTitle = chatTitle;
		this.logging = logging;
		this.u1 = u1;
		this.u2 = u2;
	}
	public AdminLogMsg(String ip, String name, String pwd, byte[] key, String chatTitle, boolean logging, String u1, String u2) {
		super(ip, name, pwd, key);
		this.chatTitle = chatTitle;
		this.logging = logging;
		this.u1 = u1;
		this.u2 = u2;
	}
	/**
	 * @return the chatTitle
	 */
	public String getChatTitle() {
		return chatTitle;
	}
	/**
	 * @param chatTitle the chatTitle to set
	 */
	public void setChatTitle(String chatTitle) {
		this.chatTitle = chatTitle;
	}
	/**
	 * @return the logging
	 */
	public boolean isLogging() {
		return logging;
	}
	/**
	 * @param logging the logging to set
	 */
	public void setLogging(boolean logging) {
		this.logging = logging;
	}
	public String getU1() {
		return u1;
	}
	public void setU1(String u1) {
		this.u1 = u1;
	}
	public String getU2() {
		return u2;
	}
	public void setU2(String u2) {
		this.u2 = u2;
	}
	
	
	
}
